package com.hyopt.modules.app.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hyopt.modules.app.dao.AlarmPhotoDao;
import com.hyopt.modules.app.entity.AlarmPhotoEntity;
import com.hyopt.modules.app.service.AlarmPhotoService;
import org.springframework.stereotype.Service;

/**
 * @author liubin
 * @date 2020/1/6 16:56
 */
@Service
public class AlarmPhotoServiceImpl extends ServiceImpl<AlarmPhotoDao, AlarmPhotoEntity> implements AlarmPhotoService {
  @Override
  public boolean savePhotoSelective(AlarmPhotoEntity a) {
    if(!this.baseMapper.savePhotoSelective(a))
    return false;
    return true;
  }
}
